package nc.pub.gl.excel.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class PubUtils {

	private static final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	private static final SimpleDateFormat sdf2 = new SimpleDateFormat("yyyyMMddHHmmss");
	
	public static String getCurrentDateTime(){
		String datetime = sdf.format(new Date());
		
		return datetime;
	}
	
	public static String getCurrentDateTime2(){
		String datetime = sdf2.format(new Date());
		
		return datetime;
	}
	
}
